﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="MSH.Common.Business" assembly="Common">

  <class name="PersonNearby" table="PERSONNEARBY">

    <id name="ID">

      <generator class="native">
        <param name="sequence">SeqPersonNearbyID</param>
      </generator>

    </id>

    <property name="Username">
      <column name="Username" length="30" not-null="true" unique="true"/>
      <!-- Unique constraint zorgt in Firebird al voor een index. -->
    </property>
  </class>
</hibernate-mapping>

